input[type=checkbox], .tree-icon.checked, .tree-icon.unchecked, .tree-icon.half-checked {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 3px;
  position: relative;
  vertical-align: middle;
  line-height: 1;
  outline: 0;
  box-sizing: border-box;

  &:hover, &:checked, &.checked, &.half-checked, &[disabled] {
    border-color: #aaa;
  }

  &[disabled]:after {
    background: #f2f2f2;
    cursor: not-allowed;
  }

  &:checked:after, &.checked:after {
    content: '';
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
    width: 9px;
    height: 9px;
    background-size: 100%;
    background-repeat: no-repeat;
	  background-image: url();
  }

  &.half-checked:after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    display: block;
    width: 7px;
    height: 7px;
    background: #666;
    border-radius: 2px;
  }
}

.rct-checkbox, .rct-radio {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;

  * {
    vertical-align: middle;
  }

  input {
    margin-right: 5px;
  }
}

.rct-checkbox-group, .rct-radio-group {
  &.rct-inline {
    .rct-checkbox, .rct-radio {
      display: inline-block;
      margin-right: 10px;
    }
  }

  &.rct-block {
    .rct-checkbox, .rct-radio {
      display: block;
      margin-right: 0;
    }
  }
}
